//
//  CatType.h
//  CarTown
//
//  Created by xionghao on 15/9/4.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>


@interface CatType : NSManagedObject

@property (nonatomic, retain) NSString * cat_id;
@property (nonatomic, retain) NSString * cat_name;
+(void)addCatType:(NSArray *)data;
+(NSArray *)getCatType;
+(instancetype)getCatTypeBytext:(NSString *)cat_name;
+(instancetype)getCatTypeByid:(NSString *)cat_id;
@end
